package com.sa35.fbs.model;

import java.io.Serializable;

public class User implements Serializable{
	private static final long serialVersionUID = -6060891852276332920L;
	private Long id;
	private String password;
	private String userName;
	private UserRoleEnum userRole;
	
	public User(){}
	
	public User(String userName, String password, UserRoleEnum userRole) {
		this.userName = userName;
		this.password = password;
		this.userRole = userRole;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public UserRoleEnum getUserRole() {
		return userRole;
	}
	public void setUserRole(UserRoleEnum userRole) {
		this.userRole = userRole;
	}
	
}
